<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
</div>

<div class="row RowSpace LastRow">
  <DataGrid module="Module.WareHouse" rowdblclick="rowDblClick()" isselect="true" isedit="false">
      <TextBoxColumn DisplayName="编码" width="120px" ValueField="Code"></TextBoxColumn>
      <TextBoxColumn DisplayName="名称" width="120px" ValueField="Name"></TextBoxColumn>
      <ReferColumn Entityname="Work" DisplayName="转入作业"  width="120px" WindowTitle="作业" ValueField="InputWork" Condition="{IsEffective: true}">
        <Column type="0" width="100px" DisplayName="编码" valuefield="Code"></Column>
        <Column type="textbox" width="100px" DisplayName="名称" valuefield="Name"></Column>
        <Column type="CheckBox" width="65px" DisplayName="计时" valuefield="IsTiming"></Column>
        <Column type="CheckBox" width="65px" DisplayName="质检点" valuefield="IsQCpoint"></Column>
        <Column type="TextBox" width="200px" DisplayName="备注" valuefield="Remark"></Column>
      </ReferColumn>
      <ReferColumn Entityname="Work" DisplayName="目标作业"  width="120px" WindowTitle="作业" ValueField="TargetWork" Condition="{IsEffective: true}">
        <Column type="0" width="100px" DisplayName="编码" valuefield="Code"></Column>
        <Column type="textbox" width="100px" DisplayName="名称" valuefield="Name"></Column>
        <Column type="CheckBox" width="65px" DisplayName="计时" valuefield="IsTiming"></Column>
        <Column type="CheckBox" width="65px" DisplayName="质检点" valuefield="IsQCpoint"></Column>
        <Column type="TextBox" width="200px" DisplayName="备注" valuefield="Remark"></Column>
      </ReferColumn>
      <CheckBoxColumn DisplayName="生效" width="60px" ValueField="IsEffective"></CheckBoxColumn>
  </DataGrid>
</div>